package com.xjscrm.console.param.wwCustomer;

import com.xjscrm.console.param.QueryParam;
import com.xjscrm.console.param.group.SheetHeader;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("客户查询参数")
public class CustomerQuery extends QueryParam {
@ApiModelProperty("商户ID")
    private Long merId;
    @ApiModelProperty("机器人ID")
    private Long deviceUniqueId;
    @ApiModelProperty("机器人微信名")
    private String deviceUniqueKeyword;
    @ApiModelProperty("添加场景（0-未知；1-扫描二维码；2-手机号搜索；3-好友分享名片；4-群内）")
    private Integer scene;
    @ApiModelProperty("微信ID")
    private String wxid;
    @ApiModelProperty("性别")
    private Integer gender;
    @ApiModelProperty("标签主键ID")
    private Long tagId;
    @ApiModelProperty("开始时间")
    private Integer startTime;
    @ApiModelProperty("结束时间")
    private Integer endTime;
    @ApiModelProperty("客户ID列表")
    private List<Long> customerIds;

    private Long idStart;

    @ApiModelProperty("父标签主键ID")
    private Long parentTagId;

    @ApiModelProperty(value = "自定义列表")
    private List<SheetHeader> fieldList;

    @ApiModelProperty("微信ID列表")
    private List<String> wxids;

    @ApiModelProperty(value = "子账号ID", hidden = true)
    private Long childId;
    @ApiModelProperty(value = "账号类型 0-主账号，1-子账号", hidden = true)
    private Integer operatorType;

    @ApiModelProperty(value = "子账号管理的机器人主键ID", hidden = true)
    private List<Long> childOwnDeviceUniqueIds;

    @ApiModelProperty("会员内部账号列表")
    private List<String> externalUserIdList;

    @ApiModelProperty("是否存在会员内部账号（0-不存在，1-存在）")
    private Integer containExternalUserId;
}
